﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;

namespace DFGK_WMS.IRepository
{
    public interface ITDictTypeRepository : IBaseRepository<TDictType>
    {
        bool AddTDictType(TDictType dictType);
        List<TDictType> GetAllTDictType(string? keyword, int pageIndex, int pageSize, out int totalCount);
        bool UpdTDicType(TDictType dictType);
        bool DelTDicType(int id);
        TDictType GetTDictTypeByID(int id);
        List<TDictType> GetAllTDictTypeTree(string? keyword,bool isTree);
    }
}
